<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputPath>$(BaseOutputPathWithConfig)ilverify\</OutputPath>
    <CLRTestPriority>1</CLRTestPriority>
    <!-- The test uses xunit directly and it fails to find the test assembly for some reason -->
    <UnloadabilityIncompatible>true</UnloadabilityIncompatible>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <IlasmRoundTripIncompatible>true</IlasmRoundTripIncompatible>
    <RequiresProcessIsolation>true</RequiresProcessIsolation>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="ILMethodTester.cs" />
    <Compile Include="ILTypeVerificationTester.cs" />
    <Compile Include="TestDataLoader.cs" />
  </ItemGroup>

  <Import Project="..\..\coreclr\tools\ILVerification\ILVerification.projitems" />

  <ItemGroup>
    <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="ILTests\*.ilproj">
      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
      <OutputItemType>Content</OutputItemType>
    </ProjectReference>
  </ItemGroup>
</Project>
